/*
2021-8-29
https://leetcode-cn.com/problems/find-the-kth-largest-integer-in-the-array/
*/
bool cmp(string a,string b)
    {
        if(a.size()!=b.size()) return a.size()<b.size();
        return a<b;
    }
class Solution {

public:
    string kthLargestNumber(vector<string>& nums, int k) {
        sort(nums.begin(),nums.end(),cmp);
        return nums[nums.size()-k];
    }
};

